<template>
  <div>
    <v-branch></v-branch>
  
    <v-list @edit="edit"></v-list>
    <v-dialog ref="dialogInfo" @cancel="cancel" :dialogInfo='dialogInfo'></v-dialog>
  </div>
</template>

<script>
import vList from "./list.vue";
import vDialog from "./dialog.vue";
export default {
  data() {
    return {
      dialogInfo: {
        isShow: false, //用于控制子组件弹框的显示隐藏
      
      },
    };
  },
  components: {
    vList,
    vDialog,
  },
  methods: {
    edit(e) {
      this.dialogInfo.isShow = true;
      this.$refs.dialogInfo.lookup(e)
    },
    cancel(e) {
        this.dialogInfo.isShow=e
    },
    
  },
};
</script>

<style scoped>
</style>
